package com.wzw.shoppingcart.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;


/**
 *@author wzw
 * 2023/4/6
 */
@Data
public class CartLine {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer userId;
    private Integer productId;
    private Integer productCount;
    @TableField(exist = false)
    private Product product;
    @TableField(exist = false)
    private Boolean isGift=false;



}
